﻿<?php echo $header; ?><?php echo $column_right; ?>

 <div class="breadcrumb">
    <?php foreach ($breadcrumbs as $breadcrumb) { ?>
    <?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
    <?php } ?>
  </div>
  <div class="clear"></div>
   <div class="clear"></div>
<div class="bg_content">
 <?php echo $column_left; ?>
<div id="bodyContent" class="grid_20           push_4">
<?php echo $content_top; ?>
 
 
  <h1><?php echo $heading_title; ?></h1>
  <?php if ($success) { ?>
  <div class="success"><?php echo $success; ?></div>
  <?php } ?>
  <?php if ($error_warning) { ?>
  <div class="warning"><?php echo $error_warning; ?></div>
  <?php } ?>

    <div class="contentContainer min_height_750" style="width: 45%; float: left;">
      <h2><?php echo $text_new_customer; ?></h2>
      <div class="contentText">
        <p><b><?php echo $text_register; ?></b></p>
        <p><?php echo $text_register_account; ?></p>
       <!-- <a href="<?php echo $register; ?>" class="button"><span><?php echo $button_continue; ?></span></a>!--></div>
		<p align="right"><span class="tdbLink"><a id="tdb9" href="<?php echo $register; ?>">Tiếp tục</a></span><script type="text/javascript">$("#tdb9").button({icons:{primary:"ui-icon-triangle-1-e"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script></p>
    </div>
    <div class="contentContainer" style="width: 45%; float: left; border-left: 1px dashed #ccc; padding-left: 3%; margin-left: 3%;">
      <h2><?php echo $text_returning_customer; ?></h2>
      <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="login">
        <div class="contentText">
          <p><?php echo $text_i_am_returning_customer; ?></p>
		  <table width="100%" cellpadding="0" cellspacing="0" border=0 >
		  <tr>
          <td class="fieldKey"><?php echo $entry_email; ?></td>
          <td class="fieldValue"> <input type="text" name="email" value="" /></td>
          </tr>
          <tr>
          <td class="fieldKey"><?php echo $entry_password; ?></td>
          <td class="fieldValue"><input type="password" name="password" value="" /></td>
		  </tr></table>
          <p><a href="/password_forgotten.php">Quên mật khẩu ?</a></p>

		<p align="right"><span class="tdbLink"><button onclick="$('#login').submit();" id="tdb10" type="submit">Đăng nhập</button></span><script type="text/javascript">$("#tdb10").button({icons:{primary:"ui-icon-key"}}).addClass("ui-priority-primary").parent().removeClass("tdbLink");</script></p>

          <!--<a onclick="$('#login').submit();" class="button"><span><?php echo $button_login; ?></span></a>-->
          <?php if ($redirect) { ?>
          <input type="hidden" name="redirect" value="<?php echo $redirect; ?>" />
          <?php } ?>
        </div>
      </form>
    </div>
  
  <?php echo $content_bottom; ?>
  </div>
  </div>
<script type="text/javascript"><!--
$('#login input').keydown(function(e) {
	if (e.keyCode == 13) {
		$('#login').submit();
	}
});
//--></script>   
<?php echo $footer; ?>